﻿using System;
namespace Gift.Model
{
    /// <summary>
    /// tbGoodsPromotion:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class tbGoodsPromotion
    {
        public tbGoodsPromotion()
        { }
        #region Model
        private int _id;
        private string _promotiontitle;
        private int _promotiontype;
        private decimal? _limitamount;
        private decimal _flooramount;
        private decimal? _preferentialamount;
        private int? _presentedintegral;
        private bool _isoverlap;
        private int _gift;
        private decimal? _discount = 100M;
        private string _dollaramount;
        private DateTime _starttime;
        private DateTime _endtime;
        private int _sortorder = 50;
        private DateTime _createtime = DateTime.Now;
        private DateTime _modifytime = DateTime.Now;

        int _companyId;

        public int CompanyId
        {
            get { return _companyId; }
            set { _companyId = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string promotionTitle
        {
            set { _promotiontitle = value; }
            get { return _promotiontitle; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int promotionType
        {
            set { _promotiontype = value; }
            get { return _promotiontype; }
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal? limitAmount
        {
            set { _limitamount = value; }
            get { return _limitamount; }
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal floorAmount
        {
            set { _flooramount = value; }
            get { return _flooramount; }
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal? preferentialAmount
        {
            set { _preferentialamount = value; }
            get { return _preferentialamount; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? presentedIntegral
        {
            set { _presentedintegral = value; }
            get { return _presentedintegral; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool isOverlap
        {
            set { _isoverlap = value; }
            get { return _isoverlap; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int gift
        {
            set { _gift = value; }
            get { return _gift; }
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal? discount
        {
            set { _discount = value; }
            get { return _discount; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string dollarAmount
        {
            set { _dollaramount = value; }
            get { return _dollaramount; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime startTime
        {
            set { _starttime = value; }
            get { return _starttime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime endTime
        {
            set { _endtime = value; }
            get { return _endtime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int sortOrder
        {
            set { _sortorder = value; }
            get { return _sortorder; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime createTime
        {
            set { _createtime = value; }
            get { return _createtime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime modifyTime
        {
            set { _modifytime = value; }
            get { return _modifytime; }
        }
   
        #endregion Model

    }
}

